package csl.blog.server.mq.consumer.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigInteger;

/**
 * bl_async_event-异步任务表的数据传输对象基类,直接与表对应
 */
@Data
@TableName(value="bl_async_event")
public class AsyncEventEntity{

    private static final long serialVersionUID = 1L;

    /** ID */
    @TableId(value = "id", type = IdType.AUTO)
    private BigInteger id;

    /** 唯一任务ID */
    private String taskId;

    /** 事件标签 */
    private String taskTag;

    /** 内容 */
    private String content;

    /** 状态 */
    private Integer status;
}
